Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Add UI extensions commands #245

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nvladimirovi
Copy link

Following commads are added: generate, list, deploy, delete.
They will help the user to manage his ui extensions.

CLI Spinner class is implemented to indicate the action of the user.

Extension generator is class which inherits
generator abstract class and
give the ability to copy existing template from
the file system, of the user, and populate it
with the data, given by the user.

Prompt and PromptLauncher classes are
build on top of python click lib to give
the ability to validate and collect
the data from the user.
Signed-off-by: Nikola Vladimirov Iliev [email protected]

To help us process your pull request efficiently, please include:

  • (Required) Short description of changes in the PR topic line

  • (Required) Detailed description of changes include tests and
    documentation. If the pull request contains multiple commits with
    detailed messages, refer to those instead

  • (Optional) Names of reviewers using @ sign + name

@nvladimirovi nvladimirovi force-pushed the extensions branch 7 times, most recently from 6f55d31 to 43a01e5 Compare September 19, 2018 13:45
@rocknes
Copy link
Collaborator

rocknes commented Sep 19, 2018

vcd-cli project is not the right place to craft REST requests or write business logic, pyvcloud is the right place to craft REST reuqest and process the responses. I think this PR needs to be split into two PRs one on pyvcloud dealing with REST + business logic and another one in this project dealing with just the cli aspect of the commands.

@nvladimirovi
Copy link
Author

Thank you for your comment, I moved the UiPlugin class to pyvcloud project, but ExtGenerator class has to stay in vcd-cli because this class depends on other classes, which are related to the CLI functionality.

Following commads are added: generate, list, deploy, delete.
They will help the user to manage his ui extensions.

Prompt and PromptLauncher classes are
build on top of python click lib to give
the ability to validate and collect
the data from the user.
Signed-off-by: Nikola Vladimirov Iliev <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants